public class Movie {
    private String movieId;
    private String name;
    private String director;
    private String actor;
    private String intro;
    private int duration; // 时长（分钟）
    private double score; // 评分（0-10）

    public Movie(String movieId, String name, String director, String actor, String intro, int duration, double score) {
        this.movieId = movieId;
        this.name = name;
        this.director = director;
        this.actor = actor;
        this.intro = intro;
        this.duration = duration;
        this.score = score;
    }

    // getter和setter
    public String getMovieId() {
        return movieId;
    }

    public String getName() {
        return name;
    }

    public String getDirector() {
        return director;
    }

    public String getActor() {
        return actor;
    }

    public String getIntro() {
        return intro;
    }

    public int getDuration() {
        return duration;
    }

    public double getScore() {
        return score;
    }

    public void setScore(double score) {
        this.score = score;
    }
}
    